SDEF
// -----------------------------------------------------------------------------
//  $Logfile:: /Quake 2 Engine/Sin/Base Sin Data/Models/Weapon/view_rlaunch.d $
// $Revision:: 16                                                             $
//   $Author:: Jimdose                                                        $
//     $Date:: 10/22/98 12:16a                                                $
//
// Copyright (C) 1998 by Ritual Entertainment, Inc.
// All rights reserved.
//
// This source may not be distributed and/or modified without
// expressly written permission by Ritual Entertainment, Inc.
//
// This is a model definition file.  It is to be used in conjunction with Sin.
//
// -----------------------------------------------------------------------------
// MODEL DESCRIPTION:
// View Weapon Model: Rocket Launcher.
//
// MODEL AUTHOR:
// Beau
//

// -----------------------------------------------------------------------------
// FILE DECLARATIONS
//
// Model Commands
path models/rlaunch
//origin -18 -15 -8
origin -5 15 0
scale 1.0

// Base Model
rlaunch_base.sbm

// Skins
normal	    rlaunch_base.tga

// Normal Animations
ready1	    rlaunch_ready.sam
fire1		rlaunch_fire.sam
idle1		rlaunch_idle1.sam
//idle2		rlaunch_idle2.sam
//idle3		rlaunch_idle3.sam
putaway1	rlaunch_putaway.sam

// Define model groups
id 200 group weapon bone barrel 0 180 110

// -----------------------------------------------------------------------------
// INITIALIZATION SECTION
//
!init:

// Class Setup

// Client Sound Aliases
//server aliascache snd_fire "weapons/rlaunch/mix1.wav"
client aliascache snd_fire "weapons/rlaunch/new3.wav"
server  setaimanim   idle1 0

// -----------------------------------------------------------------------------
// MAIN SECTION
//
!main:

// Define the client/server animation references
// server ready1 last ready
client fire1 first randomsound snd_fire 1
client fire1 first attach barrel sprites/gunblast.spr time 0.1 scale 0.8 origin 20 0 0 randomroll
// dlight <red> <rand_red_amount> <green> <rand_green_amount> <blue> <rand_blue_amount> <radius> <rand_radius_amount> <life> <decay>
client fire1 first dlight 1 0 0.1 0 0 0 400 0 1.0 0.8
server fire1 first weaponsound
server fire1 first shoot

// server putaway1 last putaway

// -----------------------------------------------------------------------------
// SOURCESAFE Update Log
//
// $Log:: /Quake 2 Engine/Sin/Base Sin Data/Models/Weapon/view_rlaunch.def    $
// 
// 16    10/22/98 12:16a Jimdose
// added setaimanim
// 
// 15    9/30/98 2:41p Joeske
// Added in formatting.
// 
// -----------------------------------------------------------------------------
